.class public Lcom/instagram/android/d/c/b;
.super Ljava/lang/Object;
.source "SystemMessageUtil.java"


# direct methods
.method private static a(Ljava/lang/String;)Ljava/lang/Runnable;
    .locals 2
    .parameter

    .prologue
    .line 37
    const/4 v0, 0x0

    .line 38
    const-string v1, "fb_needs_reauth"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 39
    new-instance v0, Lcom/instagram/android/d/c/c;

    invoke-direct {v0}, Lcom/instagram/android/d/c/c;-><init>()V

    .line 60
    :cond_0
    :goto_0
    return-object v0

    .line 45
    :cond_1
    const-string v1, "foursquare_needs_reauth"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 46
    new-instance v0, Lcom/instagram/android/d/c/d;

    invoke-direct {v0}, Lcom/instagram/android/d/c/d;-><init>()V

    goto :goto_0

    .line 52
    :cond_2
    const-string v1, "vkontakte_needs_reauth"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 53
    new-instance v0, Lcom/instagram/android/d/c/e;

    invoke-direct {v0}, Lcom/instagram/android/d/c/e;-><init>()V

    goto :goto_0
.end method

.method public static declared-synchronized a(Lcom/instagram/android/d/b/d;)V
    .locals 7
    .parameter

    .prologue
    .line 15
    const-class v1, Lcom/instagram/android/d/c/b;

    monitor-enter v1

    :try_start_0
    invoke-virtual {p0}, Lcom/instagram/android/d/b/d;->a()Ljava/lang/String;

    move-result-object v0

    .line 17
    invoke-static {v0}, Lcom/instagram/android/d/c/b;->a(Ljava/lang/String;)Ljava/lang/Runnable;

    move-result-object v2

    .line 19
    if-eqz v2, :cond_1

    .line 20
    invoke-static {}, Lcom/instagram/m/a/b;->a()Lcom/instagram/m/a/b;

    move-result-object v3

    .line 22
    invoke-virtual {v3, v0}, Lcom/instagram/m/a/b;->a(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v4

    .line 23
    invoke-virtual {p0}, Lcom/instagram/android/d/b/d;->b()Ljava/lang/Float;

    move-result-object v5

    .line 25
    if-eqz v4, :cond_0

    invoke-virtual {v4}, Ljava/lang/Float;->floatValue()F

    move-result v4

    invoke-virtual {v5}, Ljava/lang/Float;->floatValue()F

    move-result v6

    cmpg-float v4, v4, v6

    if-gez v4, :cond_1

    .line 26
    :cond_0
    invoke-virtual {v3, v0, v5}, Lcom/instagram/m/a/b;->a(Ljava/lang/String;Ljava/lang/Float;)V

    .line 27
    invoke-interface {v2}, Ljava/lang/Runnable;->run()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 34
    :cond_1
    monitor-exit v1

    return-void

    .line 15
    :catchall_0
    move-exception v0

    monitor-exit v1

    throw v0
.end method
